package com.cuihanyu.newuniversityover.present;

import com.cuihanyu.newuniversityover.view.BaseMVPview;

/**
 * Created by cuihanyu on 2018/2/6.
 */

public abstract class BaseMVPpresent<V extends BaseMVPview> {
    private V mvpView;

    /**
     * 绑定View
     *
     * @param mvpView
     */
    public void attachView(V mvpView) {

    }

    /**
     * 解绑View
     */
    public void detachView() {
        mvpView = null;
    }

    /**
     * 获取View
     *
     * @return
     */
    public V getMvpView() {
        return mvpView;
    }
}
